package com.sayice.robotconflict.config;

import cn.hutool.crypto.SecureUtil;
import cn.hutool.crypto.symmetric.SymmetricAlgorithm;

/**
 * JWT配置
 *
 * @author shubing
 */
public class JWTConfig {
    /**
     * JWT签名密钥
     */
    public static final byte[] SIGN_SECRET = SecureUtil.generateKey("HmacSHA256").getEncoded();
    
    /**
     * token 加密密钥
     */
    public static final byte[] TOKEN_SECRET = SecureUtil.generateKey(SymmetricAlgorithm.AES.getValue()).getEncoded();
}
